package com.example.xunwuproject.base;

import lombok.Data;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2019-03-12
 **/
@Data
public class ApiDataTableResponse extends ApiResponse {

    private int draw;
    private long recordsTotal;
    private long recordsFiltered;

    public ApiDataTableResponse(ApiResponse.Status status) {
        this(status.getCode(), status.getStandardMessage(), null);
    }

    public ApiDataTableResponse(int code, String message, Object data) {
        super(code,message,data);
    }



}
